* net/ldap.el (ldap-search-internal): Discard stderr output.
authorEric Hanchrow <eric.hanchrow@gmail.com>
Sat, 8 Jan 2011 19:49:02 +0000 (14:49 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:49:02 +0000 (14:49 -0500)
lisp/ChangeLog
lisp/net/ldap.el

index 53b00957741551bd1046baea96bbce62ff7ae803..fd5f62b98d439c9a75fbee9360d79cdbe6be8ec5 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-08  Eric Hanchrow  <eric.hanchrow@gmail.com>
+
+       * net/ldap.el (ldap-search-internal): Discard stderr output.
+
 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
 
        * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
index afdb0fe3e13b1e7b80b9a82c635411d6b2c5639e..f1cc534ae85e6b323d1e51b86cb6d6adf01f2104 100644 (file)
@@ -558,7 +558,8 @@ an alist of attribute/value pairs."
          (setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
       (eval `(call-process ldap-ldapsearch-prog
                           nil
-                          buf
+                          ;; Ignore stderr, which can corrupt results
+                          (list buf nil)
                           nil
                           ,@arglist
                           ,@ldap-ldapsearch-args